<?php
	include_once('./mvc/modelo/diseno.php');
	$ds = new Diseno();	
	include_once('./mvc/modelo/Accesatabla.php');
	$gastos  = new Accesatabla('gastos');
	$cont.='	
			<fieldset>
			<center>
				<legend style="color:yellow;text-decoration:underline;">CONSULTAR GASTOS</legend>
				<form method="POST" action="./?obj=consultgasto">
					<table border="0" cellspacing="3" style="text-align:center;">
						<tr>
							<td><b>Fecha Inicial</b></td>
							<td></td>
							<td><b>Fecha Final</b></td>
						</tr>
						<tr>
							<td><input type="date" name="fechai" required autofocus/></td>
							<td>HASTA</td>
							<td><input type="date" name="fechaf" required/></td>
						</tr>
						<tr><th colspan="3"><button type="submit">Buscar</button></th></tr>
					</table>
				</form>
		</center>
	</fieldset>';
	$ds->nav($_SESSION[navegador]);
	$ds->contenido($cont);
	$ds->mostrar();
?>